package cn.abyss.admin.ums.business;

import cn.abyss.admin.ums.model.UmsPermission;
import cn.abyss.admin.ums.service.UmsPermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * Description:
 *
 * @author zhangsj
 * @date Created on 2021/8/26
 */
@Component
public class UmsPermissionBusiness {
    @Autowired
    private UmsPermissionService umsPermissionService;

    public List<UmsPermission> getPermissionList(Map<String, Object> map) {
        List<UmsPermission> umsPermissionList = umsPermissionService.queryPermissionList(map);
        return umsPermissionList;
    }
}
